package com.liu.efk;


import com.liu.efk.utils.IdWorker;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;


@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.liu.efk.mapper")
public class UserManager9004 {


    public static void main(String[] args) {
        SpringApplication.run(UserManager9004.class,args);
    }

    @Bean
    public IdWorker getIdWorker(){
        return  new IdWorker(1,1);
    }



}
